'use strict';
module.exports = (app) => {
  return class UserService extends app.Service {
    async list() {
      return this.ctx.model.User.findAndCountAll();
    }
  };
};
